package com.cgws.fintech.inner.business.customer.swagger.handler;

import com.example.victory.swagger.model.ApiRequestCustomerId;
import com.example.victory.swagger.model.ApiResponseCustomerOverAllTradeNormal;
import com.example.victory.swagger.model.ApiResponseCustomerOverAllTradeOption;
import com.example.victory.swagger.model.ApiResponseCustomerOverAllTradeOtc;
import com.example.victory.swagger.model.ApiResponseCustomerOverAllTradeOverview;
import io.swagger.annotations.*;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;

@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

@Controller
public class AppCustomerOverallTradeApiController implements AppCustomerOverallTradeApi {

    private final AppCustomerOverallTradeApiDelegate delegate;

    @org.springframework.beans.factory.annotation.Autowired
    public AppCustomerOverallTradeApiController(AppCustomerOverallTradeApiDelegate delegate) {
        this.delegate = delegate;
    }
    public ResponseEntity<ApiResponseCustomerOverAllTradeNormal> getCustomerOverAllTradeCredit(@ApiParam(value = "客户id" ,required=true )  @Valid @RequestBody ApiRequestCustomerId param) {
        return delegate.getCustomerOverAllTradeCredit(param);
    }

    public ResponseEntity<ApiResponseCustomerOverAllTradeNormal> getCustomerOverAllTradeNormal(@ApiParam(value = "客户id" ,required=true )  @Valid @RequestBody ApiRequestCustomerId param) {
        return delegate.getCustomerOverAllTradeNormal(param);
    }

    public ResponseEntity<ApiResponseCustomerOverAllTradeOption> getCustomerOverAllTradeOption(@ApiParam(value = "客户id" ,required=true )  @Valid @RequestBody ApiRequestCustomerId param) {
        return delegate.getCustomerOverAllTradeOption(param);
    }

    public ResponseEntity<ApiResponseCustomerOverAllTradeOtc> getCustomerOverAllTradeOtc(@ApiParam(value = "客户id" ,required=true )  @Valid @RequestBody ApiRequestCustomerId param) {
        return delegate.getCustomerOverAllTradeOtc(param);
    }

    public ResponseEntity<ApiResponseCustomerOverAllTradeOverview> getCustomerOverAllTradeOverview(@ApiParam(value = "客户id" ,required=true )  @Valid @RequestBody ApiRequestCustomerId param) {
        return delegate.getCustomerOverAllTradeOverview(param);
    }

}
